package com.linkoog.devtools.file_unlock;

import org.jetbrains.annotations.NotNull;

import com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension;
import com.intellij.openapi.vfs.VirtualFile;

/**
 *  屏蔽非项目文件，错误提示
 */
public class NonProjectFileUnlocker implements NonProjectFileWritingAccessExtension {
    public NonProjectFileUnlocker() {
    }

    public boolean isWritable(@NotNull VirtualFile file) {
        return true;
    }
}


